Modules | Files | Inheritance Tree | Inheritance Graph | Name Index | Config
module Synopsis::Parser::C++::{link.cc}
struct Link
Files: Synopsis/Parser/C++/syn/link.cc

Encapsulation of a link fragment. Links can be of several types, such as start, end, or some other formatting type. They are split into start and end so that spans can be nested properly


Public Typedefs Summary:
std::vector<std::string>Name
A scoped name type [Source]
std::set<Link*, lt_col>Line
Set of links sorted by column [Source]
std::map<int, Line>Map
Map of Lines keyed by line number [Source]

Public Structs Summary:
lt_col
Less-than functor that compares column and type [Source]

Public Enums Summary:
TypeLINK_START, REF_START, SPAN_START, SPAN_END, REF_END, LINK_END
Enumeration of the type of link. [Source]

Public Member functions Summary:
 std::ostream&write(std::ostream& o)
Write link to the output stream for debuggingDebugging output method for Links [Source]

Public Data members Summary:
intline
The line and column of the link [Source]
intcol [Source]
Typetype
The type of this link [Source]
Namename
The scoped name of this link [Source]
std::stringdesc
The description of this link [Source]

Public Enum Details:
enum Type
LINK_START
REF_START

< Start of a label link

SPAN_START

< Start of reference link

SPAN_END
REF_END
LINK_END

Enumeration of the type of link. These should be in order of priority, so nested types should be nested in this list: foo means enum ordering: A_START,B_START,B_END,A_END